# -*- coding:utf-8 -*-
import os
from peewee import *


path = os.path.abspath(os.path.dirname(__file__))
db = SqliteDatabase(os.path.join(path, 'babby.db'))


class BaseModel(Model):
    class Meta:
        database = db

